package com.yxw.yxnet_cd_center.customer_service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yxw.yxnet_cd_center.common.dto.PageVO;
import com.yxw.yxnet_cd_center.customer_service.dto.ChannelStatisticsQueryDTO;
import com.yxw.yxnet_cd_center.customer_service.dto.ExportChannelStatisticsDTO;
import com.yxw.yxnet_cd_center.customer_service.entity.YxCsChannelStatisticsEntity;
import com.yxw.yxnet_cd_center.customer_service.vo.ChannelStatisticsVo;
import org.springframework.stereotype.Repository;

import javax.servlet.http.HttpServletResponse;


/**
 * @author fangmaoxin
 * @version 1.0
 * @date 2023年9月19日
 * 渠道活跃度统计-服务类
 */
@Repository
public interface ChannelStatisticsService extends IService<YxCsChannelStatisticsEntity> {
    /**
     * 查询渠道活跃度统计列表
     */
    PageVO<ChannelStatisticsVo> selectChannelStatisticsList(ChannelStatisticsQueryDTO dto);

    /**
     * 更新渠道活跃度统计数据
     */
    void insertChannelStatistics();

    /**
     * 导出表格
     */
    void exportExcel(HttpServletResponse response, ExportChannelStatisticsDTO dto);


}